package com.wjj.sixinone.service;

import com.wjj.sixinone.common.pojo.entity.Employee;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wjj.sixinone.common.pojo.vo.EmployeeForm;
import com.wjj.sixinone.common.pojo.vo.EmployeeVo;
import com.wjj.sixinone.common.util.Result;
import jakarta.servlet.http.HttpServletResponse;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 小王不秃头
 * @since 2024-07-22
 */
public interface EmployeeService extends IService<Employee> {

    Result listDepartmentName();



    Result selectEmployeeByLimit(EmployeeVo employeeVo);

    Result updateEmployeeById(EmployeeForm employeeForm);

    Result addEmployee(EmployeeForm employeeForm);

    void uploadExcel(HttpServletResponse httpServletResponse);

    Result deleteById(Map<String, String> map);

    Result getEmployeeNameByDepartmentName(String departmentName);

    Result selectEmployeeByDepartmentName();
}
